package com.brick.mapper;

import com.brick.entity.Commodity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommodityMapper {
    List<Commodity> selectAll(Commodity commodity);

    int insert(Commodity commodity);

    int update(Commodity commodity);
}
